package com.evolver.datatest.component;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author wenl
 * @version V2.0
 * @project 自己的框架
 * @package com.evolver.datatest.component
 * @date 2020/3/25
 * @describe
 */

@Component
public class SchedulerTask {

    private int count = 0;

//    @Scheduled(cron = "*/6 * * * * ?")
    private void process(){
        System.out.println("This is scheduler task runing "+(count++));
    }

}
